<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class ShowGoodsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //二维码表
        Schema::create('show_goods', function(Blueprint $table) {
            $table->increments('id')->comment('自增id');
            $table->string('show_goods_one')->nullable()->comment('首页第一个分类');
            $table->string('show_goods_two')->nullable()->comment('首页第二个分类');
            $table->softDeletes();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
